/*
 * @Author: lwHao
 * @Date: 2020-09-20 14:40:48
 * @LastEditors: lwHao
 * @LastEditTime: 2020-09-20 14:45:17
 */
import Vue from 'vue'
import dayjs from 'dayjs'

Vue.filter('date', (value, format = 'YYYY-MM-DD HH:mm:ss') =>{
  return dayjs(value).format(format)
})